package com.jrx.anytxn.transaction.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 利息计提日志表 
 * 表:tl_interest_accrual_log 
 * @author mac 
 * @date 2021-03-24 
 */
public class TlInterestAccrualLog {
    /**
     * 主键
     * 表字段:id
     */
    private Long id;

    /**
     * 租户ID
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 账户id
     * 表字段:account_id
     */
    private String accountId;

    /**
     * 机构号
     * 表字段:organization_id
     */
    private String organizationId;

    /**
     * 渠道id
     * 表字段:channel
     */
    private String channel;

    /**
     * 客户id
     * 表字段:customer_id
     */
    private String customerId;

    /**
     * 	贷款订单id
     * 表字段:loan_id
     */
    private String loanId;

    /**
     * 第几期
     * 表字段:billing_tenor
     */
    private Integer billingTenor;

    /**
     * 累计日期
     * 表字段:accrual_date
     */
    private Date accrualDate;

    /**
     * 前一日累计总金额
     * 表字段:last_total_amount
     */
    private BigDecimal lastTotalAmount;

    /**
     * 累计后总金额
     * 表字段:current_total_amount
     */
    private BigDecimal currentTotalAmount;

    /**
     * 当日计提金额
     * 表字段:accrual_provision
     */
    private BigDecimal accrualProvision;

    /**
     * 当日调整金额
     * 表字段:accrual_adjustment
     */
    private BigDecimal accrualAdjustment;

    /**
     * 当日税金金额
     * 表字段:tax_amt_provision
     */
    private BigDecimal taxAmtProvision;

    /**
     * 当日不含税计提金额
     * 表字段:tax_excluded_accrual_provision
     */
    private BigDecimal taxExcludedAccrualProvision;

    /**
     * 创建时间
     * 表字段:create_time
     */
    private Date createTime;

    /**
     * 账户类型 66= 利息累计账户10 = 罚息累计账户20 = 复利累计账户70 = 贴息累计账户
     * 表字段:account_type
     */
    private String accountType;

    /**
     * 日利率
     * 表字段:daily_rate
     */
    private BigDecimal dailyRate;

    /**
     * 当日税金尾差
     * 表字段:accrual_tax_adjustment
     */
    private BigDecimal accrualTaxAdjustment;

    /**
     * 当日累计后总税金
     * 表字段:current_total_tax
     */
    private BigDecimal currentTotalTax;

    /**
     * 获取主键
     * @return id Long
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置主键
     * @param id 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取租户ID
     * @return tenantId String
     */
    public String getTenantId() {
        return tenantId;
    }

    /**
     * 设置租户ID
     * @param tenantId 租户ID
     */
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    /**
     * 获取账户id
     * @return accountId String
     */
    public String getAccountId() {
        return accountId;
    }

    /**
     * 设置账户id
     * @param accountId 账户id
     */
    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    /**
     * 获取机构号
     * @return organizationId String
     */
    public String getOrganizationId() {
        return organizationId;
    }

    /**
     * 设置机构号
     * @param organizationId 机构号
     */
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    /**
     * 获取渠道id
     * @return channel String
     */
    public String getChannel() {
        return channel;
    }

    /**
     * 设置渠道id
     * @param channel 渠道id
     */
    public void setChannel(String channel) {
        this.channel = channel;
    }

    /**
     * 获取客户id
     * @return customerId String
     */
    public String getCustomerId() {
        return customerId;
    }

    /**
     * 设置客户id
     * @param customerId 客户id
     */
    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    /**
     * 获取	贷款订单id
     * @return loanId String
     */
    public String getLoanId() {
        return loanId;
    }

    /**
     * 设置	贷款订单id
     * @param loanId 	贷款订单id
     */
    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    /**
     * 获取第几期
     * @return billingTenor Integer
     */
    public Integer getBillingTenor() {
        return billingTenor;
    }

    /**
     * 设置第几期
     * @param billingTenor 第几期
     */
    public void setBillingTenor(Integer billingTenor) {
        this.billingTenor = billingTenor;
    }

    /**
     * 获取累计日期
     * @return accrualDate Date
     */
    public Date getAccrualDate() {
        return accrualDate;
    }

    /**
     * 设置累计日期
     * @param accrualDate 累计日期
     */
    public void setAccrualDate(Date accrualDate) {
        this.accrualDate = accrualDate;
    }

    /**
     * 获取前一日累计总金额
     * @return lastTotalAmount BigDecimal
     */
    public BigDecimal getLastTotalAmount() {
        return lastTotalAmount;
    }

    /**
     * 设置前一日累计总金额
     * @param lastTotalAmount 前一日累计总金额
     */
    public void setLastTotalAmount(BigDecimal lastTotalAmount) {
        this.lastTotalAmount = lastTotalAmount;
    }

    /**
     * 获取累计后总金额
     * @return currentTotalAmount BigDecimal
     */
    public BigDecimal getCurrentTotalAmount() {
        return currentTotalAmount;
    }

    /**
     * 设置累计后总金额
     * @param currentTotalAmount 累计后总金额
     */
    public void setCurrentTotalAmount(BigDecimal currentTotalAmount) {
        this.currentTotalAmount = currentTotalAmount;
    }

    /**
     * 获取当日计提金额
     * @return accrualProvision BigDecimal
     */
    public BigDecimal getAccrualProvision() {
        return accrualProvision;
    }

    /**
     * 设置当日计提金额
     * @param accrualProvision 当日计提金额
     */
    public void setAccrualProvision(BigDecimal accrualProvision) {
        this.accrualProvision = accrualProvision;
    }

    /**
     * 获取当日调整金额
     * @return accrualAdjustment BigDecimal
     */
    public BigDecimal getAccrualAdjustment() {
        return accrualAdjustment;
    }

    /**
     * 设置当日调整金额
     * @param accrualAdjustment 当日调整金额
     */
    public void setAccrualAdjustment(BigDecimal accrualAdjustment) {
        this.accrualAdjustment = accrualAdjustment;
    }

    /**
     * 获取当日税金金额
     * @return taxAmtProvision BigDecimal
     */
    public BigDecimal getTaxAmtProvision() {
        return taxAmtProvision;
    }

    /**
     * 设置当日税金金额
     * @param taxAmtProvision 当日税金金额
     */
    public void setTaxAmtProvision(BigDecimal taxAmtProvision) {
        this.taxAmtProvision = taxAmtProvision;
    }

    /**
     * 获取当日不含税计提金额
     * @return taxExcludedAccrualProvision BigDecimal
     */
    public BigDecimal getTaxExcludedAccrualProvision() {
        return taxExcludedAccrualProvision;
    }

    /**
     * 设置当日不含税计提金额
     * @param taxExcludedAccrualProvision 当日不含税计提金额
     */
    public void setTaxExcludedAccrualProvision(BigDecimal taxExcludedAccrualProvision) {
        this.taxExcludedAccrualProvision = taxExcludedAccrualProvision;
    }

    /**
     * 获取创建时间
     * @return createTime Date
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取账户类型 66= 利息累计账户10 = 罚息累计账户20 = 复利累计账户70 = 贴息累计账户
     * @return accountType String
     */
    public String getAccountType() {
        return accountType;
    }

    /**
     * 设置账户类型 66= 利息累计账户10 = 罚息累计账户20 = 复利累计账户70 = 贴息累计账户
     * @param accountType 账户类型 66= 利息累计账户10 = 罚息累计账户20 = 复利累计账户70 = 贴息累计账户
     */
    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    /**
     * 获取日利率
     * @return dailyRate BigDecimal
     */
    public BigDecimal getDailyRate() {
        return dailyRate;
    }

    /**
     * 设置日利率
     * @param dailyRate 日利率
     */
    public void setDailyRate(BigDecimal dailyRate) {
        this.dailyRate = dailyRate;
    }

    /**
     * 获取当日税金尾差
     * @return accrualTaxAdjustment BigDecimal
     */
    public BigDecimal getAccrualTaxAdjustment() {
        return accrualTaxAdjustment;
    }

    /**
     * 设置当日税金尾差
     * @param accrualTaxAdjustment 当日税金尾差
     */
    public void setAccrualTaxAdjustment(BigDecimal accrualTaxAdjustment) {
        this.accrualTaxAdjustment = accrualTaxAdjustment;
    }

    /**
     * 获取当日累计后总税金
     * @return currentTotalTax BigDecimal
     */
    public BigDecimal getCurrentTotalTax() {
        return currentTotalTax;
    }

    /**
     * 设置当日累计后总税金
     * @param currentTotalTax 当日累计后总税金
     */
    public void setCurrentTotalTax(BigDecimal currentTotalTax) {
        this.currentTotalTax = currentTotalTax;
    }
}